PROGS = menu

GHCFLAGS = -fwarn-unused-imports -XOverlappingInstances

.PHONY: all clean

all: $(PROGS)

menu: Menu.hs
	ghc $(GHCFLAGS) -with-rtsopts="-H128m -K64m" --make -O -o $@ $^

bundle:
	mkdir -p tp1bundle
	mkdir -p tp1bundle/src
	cp ../enunciado/tp1.pdf tp1bundle
	cp *.hs Makefile LEAME.txt tp1bundle/src
	tar -czf tp1.tar.gz tp1bundle
	

clean:
	-rm -f menu *.o *.hi *.log tp1.tar.gz  

